import Layout from '@/layout/index.vue';
import * as i18n from '@/utils';
let strategy = {
	path: '/strategy',
	component: Layout,
	name: '策略管理',
	meta: {
		title: i18n.t('router.Strategic'),
		icon: 'dashboard',
	  	isPermiss:'/management/strategy'
	},
	children: [
		{
			path: '/strategy/payee',
			component: () => import('@/views/strategy/payee/index.vue'),
			name: '收款策略',
			meta: { title: i18n.t('router.Collection') },
	  		isPermiss:'/management/strategy.strategy_payee/getList'
		},
		{
			path: '/strategy/strategy',
			component: () => import('@/views/strategy/strategy/index.vue'),
			name: '收款绑定',
			meta: { title: i18n.t('router.Collectionbind') },
	  		isPermiss:'/management/strategy.strategy_machine/getList'
		},
		{
			path: '/strategy/income',
			component: () => import('@/views/strategy/income/index.vue'),
			name: '分润策略',
			meta: { title: i18n.t('strategy.manager.profit') },
	  		isPermiss:'/management/strategy.strategy_income/getList'
		},
		{
			path: '/strategy/manager',
			component: () => import('@/views/strategy/manager/index.vue'),
			name: '分润绑定',
			meta: { title: i18n.t('router.FenrunBind') },
			isPermiss:'/management/strategy.strategy_manager/getList'
		}
	]
}

export default strategy;